<?php 

$title = '关于我们';

$css = 'about_us';

$tpid =2;
//header 当前状态效果
	$hid =isset($_GET['hid'])?$_GET['hid']:$tpid;
	//当前页类信息
	
	$curcate = dbselOne($con,'category','*',$tpid);

	//二级类信息
	$secondary = dbselect($con,'category','*',"pid=$tpid");
	
	
	//二级菜单当前状态效果
	$sid = isset($_GET['sid'])?$_GET['sid']:$secondary[0]['id'];

	//当前二级类信息

	$cursec = dbselOne($con,'category','*',$sid);


	//当前分类的数据

	$sql = "select * from about_us where cate_id = $sid";

	$query = mysqli_query($con,$sql);

	$abt_data = mysqli_fetch_assoc($query);

	//banner图查询
	$banner = dbselect($con,'banner','*',"cate_id='{$hid}' and status = 1",'create_time desc','1');


require("application/home/views/public/header.html");

include("application/".M."/views/".C."/".V.".html");

require("application/home/views/public/footer.html");


?>